home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 2176 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: aargh.incubus.sub.org!marc
  2. From: marc@aargh.incubus.sub.org (Marc 'Nepomuk' Heuler)
  3. Newsgroups: comp.sys.amiga.misc
  4. Subject: SHAREWARE PROGRAMMERS: Protection Patch (was Re: OS features)
  5. Message-ID: <bAAYx*mla@aargh.incubus.sub.org>
  6. Date: Thu, 18 Jan 1996 17:48:59 CET
  7. Reply-To: marc@aargh.incubus.sub.org
  8. References: <92747544038@PAPA.NORTH.DE> <4b3h9s$1st@alterdial.UU.NET> <hmAVx*Y3f@yaps.rhein.de>
  9.  <cg.75pf@ami-cg.GraySage.Edmonton.AB.CA> <4d3t9e$mkv@hermes.louisville.edu>
  10.  <m4d20p0mn2v.fsf@freud.hut.fi>
  11. Distribution: inet
  12. Organization: Data Design
  13. X-Newsreader: Arn V1.03a
  14.  
  15. In article <m4d20p0mn2v.fsf@freud.hut.fi>, Janne Jalkanen writes:
  16.  
  17. > This means the OS also should be more picky about the data it gets.
  18.  
  19. Anyone know SCRATCH (by Bill Hawes)?  It SetFunctions() all known library
  20. functions to scratch CPU registers D1/A0/A1.
  21.  
  22. One could easily make a Protection Patch program, that enables _todays'_
  23. AmigaOS to carefully watch a functions input.
  24.  
  25. It  probably  won't be reliable enough to withstand a CRASH program like on
  26. Unix,  because as long as it is not part of the OS itself, it won't protect
  27. future  OS  functions - but anyway, I think it'll catch most wrong function
  28. input  and  should  be  able  to  help  you sort out another bunch of dirty
  29. programs that ENFORCER didn't expose already.
  30.  
  31. One  could  create  a consistency check subfunction for every type of input
  32. that  is  used in AmigaOS.  I didn't count, but I think less than 100 small
  33. subfunctions will suffice.
  34.  
  35. Parsing  the  FD  files  enables  us  to  automatically  SetFunction()  all
  36. functions  of  the OS, adding the appropriate consistency check subfunction
  37. for each OS function.
  38.  
  39. A  false  function input should either reveal debug output (like ENFORCER),
  40. or  a Requester offering CONTINUE|SUSPEND TASK|REBOOT (like Amiga GURU), or
  41. both - depending on user preferences.
  42.  
  43. Masking  out time-critical functions for speed reasons should be an option,
  44. too.   Interrupt-proven  functions  must  be  excluded  from  the Requester
  45. option, and for future compatibility the list of those must be extenable as
  46. configuration option.
  47.  
  48. Future  OS'  are  partially  supported:   new functions that accept already
  49. known  input types will be included to the patch & watch list when applying
  50. the future FD files to the parser.
  51.  
  52. Now, who's willing to program this?
  53.